<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@page import="Model_Db.DbUtil"%>
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>医务登入界面</title>
    <link rel="stylesheet" href="css/styles.css">
    <script type="text/javascript">
        var i=0;
        setInterval('changeColor()',500);
        function changeColor(){
            var div=document.getElementById('character');
            var colorArr=['#8A2BE2','#DEB887','#7FFF00','#008B8B','#FF1493'];
            if(i==colorArr.length){
                i=0;
            }else{
                div.style.color=colorArr[i++%colorArr.length];
            }
        }
    </script>
</head>
<body background="image/1.jpg">
<br><br><br><br><br><br>
<h1 align="center" id="character">欢迎使用！医务管理系统</h1>
<div class="login-box">
    <h2><img src="image/logo.png" width="90px" height="90px"></h2>
    <form action="" method="post" id="formId">
        <div class="user-box"">
            <input type="username"  required="required" autofocus="autofocus" id="id_username">
            <label>用户名</label>
        </div>
        <div class="user-box">
            <input type="password"  required="required" id="id_password">
            <label>密码</label>
        </div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <!-- <a onclick="document:formId.submit()" href="javascript:void(0)"> -->
        <a onclick="aa();" href="" >
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            登入
        </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="注册窗口.jsp">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            注册
        </a>
    </form>
</div>
</body>
</html>